package com.exigen.perflabstat.services;

import java.io.File;

import org.primefaces.model.UploadedFile;

import com.exigen.perflabstat.models.ProjectName;
import com.exigen.perflabstat.models.Scenario;
import com.exigen.perflabstat.models.ScenarioType;

public interface Template2Service {
	public File loadFile(UploadedFile event);
	public void parseFileTemplate1(File file);
	public boolean parseFileTemplate2(File file);
	public void loadFilenameData(String filename);
	
	void transactionParse(String[] line);
	void transactionNameParse(String name);
	public boolean checkIfScenarioTypeExists(String ScenarioType);
	public void createScenarioType(ScenarioType scenarioType);
	public boolean checkIfScenarioExists(String scenario);
	public void createScenario(Scenario scenario);
	public boolean checkIfProjectExists(ProjectName projectName);
	public void createProject(ProjectName projectName); 


	public Integer getTemplateNumber();
	
	/*public String getTemplate();
	public Integer getTemplateNumber();
	public String getBranch();
	public String getBuildNumber();
	public String getProjectName();
	*/
}
